<?php use_helper('JavascriptBase')?>
<?php if ($sf_user->hasFlash('notice')): ?>
  <div id="notice" class="notice"><?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?></div>
<?php echo javascript_tag("jQuery('#notice').notification( {'duration': 10, 'show-method': 'slideDown', 'hide-method': 'slideUp'} )")?>
<?php endif; ?>

<?php if ($sf_user->hasFlash('error')): ?>
  <div id="error" class="error"><?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?></div>
  <?php echo javascript_tag("jQuery('#error').notification( {'duration': 10, 'show-method': 'slideDown', 'hide-method': 'slideUp'} )")?>
<?php endif; ?>

